package com.xr.miniprogram.service;

import com.xr.miniprogram.domain.MiniProgramServiceLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xr.miniprogram.domain.vo.MiniProgramServiceLogPageVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author da
 * @since 2023-09-28
 */
public interface IMiniProgramServiceLogService extends IService<MiniProgramServiceLog> {

    /**
     * 根据 订单子项id 获取服务日志集合VO
     * @param orderUserId
     * @return
     */
    MiniProgramServiceLogPageVO getServiceLogPageVOByOrderUserId(Long orderUserId);

    /**
     * 根据服务工人id 查询服务日志
     * @param staffId
     * @return
     */
    List<MiniProgramServiceLog> listByStaffId(Long staffId);
}
